<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
    <head>
        <title>Spittr</title>
    </head>
    <body>
        <h1>Register</h1>
        <c:out value="${message}"/>
        <form method="POST">
            UserName: <input type="text" name="userName" value = "<c:out value="${spitter.userName}"/>"/><br/>
            Password: <input type="password" name="password" value="<c:out value="${spitter.password}"/>"/><br/>
            <input type="submit" value="Register" />
        </form>
    </body>
</html>